[INFO] cloning repository https://github.com/Metrohan/single-offer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Metrohan/single-offer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetrohan%2Fsingle-offer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetrohan%2Fsingle-offer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0496e0ef2f2ecc33d3b1b71ab395680bc2ad5ddf
[INFO] fixing Metrohan/single-offer against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetrohan%2Fsingle-offer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Metrohan/single-offer
[INFO] finished tweaking git repo https://github.com/Metrohan/single-offer
[INFO] tweaked toml for git repo https://github.com/Metrohan/single-offer written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Metrohan/single-offer on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Metrohan/single-offer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c87ca1e391d42174304d99f97cb08806369d82db34b0ba8c99caa1f8998f313f
[INFO] running `Command { std: "docker" "start" "c87ca1e391d42174304d99f97cb08806369d82db34b0ba8c99caa1f8998f313f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c87ca1e391d42174304d99f97cb08806369d82db34b0ba8c99caa1f8998f313f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c87ca1e391d42174304d99f97cb08806369d82db34b0ba8c99caa1f8998f313f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c87ca1e391d42174304d99f97cb08806369d82db34b0ba8c99caa1f8998f313f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking single-offer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found `:`
[INFO] [stdout]   --> src/lib.rs:64:55
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let sell_token_amount: i128 = buy_token_amount: i128
[INFO] [stdout]    |                                                       ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: missing parameters for function definition
[INFO] [stdout]   --> src/lib.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 |     } fn trade
[INFO] [stdout]    |               ^
[INFO] [stdout]    |
[INFO] [stdout] help: add a parameter list
[INFO] [stdout]    |
[INFO] [stdout] 78 |     } fn trade()
[INFO] [stdout]    |               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found keyword `pub`
[INFO] [stdout]    --> src/lib.rs:81:5
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl SingleOffer {
[INFO] [stdout]     |                  - while parsing this item list starting here
[INFO] [stdout] ...
[INFO] [stdout]  78 |     } fn trade
[INFO] [stdout]     |               - expected one of `->`, `<`, `where`, or `{`
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn withdraw(e: Env, token: Address, amount i128) {
[INFO] [stdout]     |     ^^^ unexpected token
[INFO] [stdout] ...
[INFO] [stdout] 115 | }
[INFO] [stdout]     | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `:`
[INFO] [stdout]   --> src/lib.rs:64:55
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let sell_token_amount: i128 = buy_token_amount: i128
[INFO] [stdout]    |                                                       ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: missing parameters for function definition
[INFO] [stdout]   --> src/lib.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 |     } fn trade
[INFO] [stdout]    |               ^
[INFO] [stdout]    |
[INFO] [stdout] help: add a parameter list
[INFO] [stdout]    |
[INFO] [stdout] 78 |     } fn trade()
[INFO] [stdout]    |               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found keyword `pub`
[INFO] [stdout]    --> src/lib.rs:81:5
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl SingleOffer {
[INFO] [stdout]     |                  - while parsing this item list starting here
[INFO] [stdout] ...
[INFO] [stdout]  78 |     } fn trade
[INFO] [stdout]     |               - expected one of `->`, `<`, `where`, or `{`
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn withdraw(e: Env, token: Address, amount i128) {
[INFO] [stdout]     |     ^^^ unexpected token
[INFO] [stdout] ...
[INFO] [stdout] 115 | }
[INFO] [stdout]     | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `soroban_sdk` in this scope
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use soroban_sdk::{
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `soroban_sdk`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `soroban_sdk`, use `cargo add soroban_sdk` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `soroban_sdk`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use soroban_sdk::{
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `soroban_sdk`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `soroban_sdk`, use `cargo add soroban_sdk` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `soroban_sdk` in this scope
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use soroban_sdk::{
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `soroban_sdk`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `soroban_sdk`, use `cargo add soroban_sdk` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `soroban_sdk`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use soroban_sdk::{
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `soroban_sdk`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `soroban_sdk`, use `cargo add soroban_sdk` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TokenClient` in this scope
[INFO] [stdout]   --> src/lib.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let sell_token_client: TokenClient<'_> = Token::Client::new(&e, &offer.sell_token);
[INFO] [stdout]    |                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TokenClient` in this scope
[INFO] [stdout]   --> src/lib.rs:62:31
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let buy_token_client: TokenClient<'_> = Token::Client::new(&e, &offer.buy_token);
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_offer` in this scope
[INFO] [stdout]   --> src/lib.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         write_offer(
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_offer` in this scope
[INFO] [stdout]   --> src/lib.rs:60:28
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let offer: Offer = load_offer(&e);
[INFO] [stdout]    |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TokenClient` in this scope
[INFO] [stdout]   --> src/lib.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let sell_token_client: TokenClient<'_> = Token::Client::new(&e, &offer.sell_token);
[INFO] [stdout]    |                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TokenClient` in this scope
[INFO] [stdout]   --> src/lib.rs:62:31
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let buy_token_client: TokenClient<'_> = Token::Client::new(&e, &offer.buy_token);
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `single-offer` (lib) due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function `write_offer` in this scope
[INFO] [stdout]   --> src/lib.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         write_offer(
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_offer` in this scope
[INFO] [stdout]   --> src/lib.rs:60:28
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let offer: Offer = load_offer(&e);
[INFO] [stdout]    |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `single-offer` (lib test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "c87ca1e391d42174304d99f97cb08806369d82db34b0ba8c99caa1f8998f313f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c87ca1e391d42174304d99f97cb08806369d82db34b0ba8c99caa1f8998f313f", kill_on_drop: false }`
[INFO] [stdout] c87ca1e391d42174304d99f97cb08806369d82db34b0ba8c99caa1f8998f313f
